projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2f0bd0
)
(uint16_t): Define if C99 does not appear to be fully supported.
author
Jason Rumney
<jasonr@gnu.org>
Sun, 15 Jul 2007 12:14:52 +0000
(12:14 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sun, 15 Jul 2007 12:14:52 +0000
(12:14 +0000)
nt/inc/sys/socket.h
patch
|
blob
|
history
diff --git
a/nt/inc/sys/socket.h
b/nt/inc/sys/socket.h
index 2e52c74691e16528f908b2d474fb9a498d0dee86..a9825ee197d00b171cd14c98ee395f71cdad3460 100644
(file)
--- a/
nt/inc/sys/socket.h
+++ b/
nt/inc/sys/socket.h
@@
-53,6
+53,11
@@
Boston, MA 02110-1301, USA. */
#include <winsock2.h>
#include <ws2tcpip.h>
+/* process.c uses uint16_t (from C99) for IPv6, but
+ apparently it is not defined in some versions of mingw and msvc. */
+#ifndef UINT16_C
+typedef unsigned short uint16_t;
+#endif
/* redefine select to reference our version */
#ifdef MUST_REDEF_SELECT